﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PCMaintenance.aspx.cs"
    Inherits="WMS6.Web.Inventory.PCMaintenance" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>PCMaintenance</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/checkbox.js" type="text/javascript"></script>

    <script src="../Js/Verification.js" type="text/javascript"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }        
//        
//        function newHold()
//        {
//            var from = document.getElementById("hdnFrom").value;
//            window.location.href = "InvHold.aspx?from="+from;
//            return false;
//        }        
        
        function confirmMsg(code)
        {
            if(code == "C001")
            {
                if(confirm('<%=GetGlobalMsgResource("C001") %>'))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }

        }
        
    </script>

</head>
<body>
    <form id="F5551" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblOwner" runat="server" CssClass="label_header" Text="物理盘点维护" 
                            meta:resourcekey="lblOwner"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnNew" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnNew%>"
                            AccessKey="b" />
                    </td>
                    <td>
                        <asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>" Enabled="False"
                            AccessKey="s" OnClick="btnSave_Click"  />
                    </td>
                    <td>
                        <asp:Button ID="btnDelete" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnDelete%>" Enabled="False"
                          OnClientClick="javascript:if(confirmMsg('C001')) return true; else return false;"  OnClick="btnDelete_Click" />
                    </td>
                </tr>
            </table>
        </div>
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
                <div>
                    <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                        meta:resourcekey="lblMsg"></asp:Label>
                </div>
                <div id="div_menu">
                    <div style="float: left; width: 8px;">
                        <div class="tabL" id="divL1">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur" id="divM1">
                        <asp:Label ID="one1" CssClass="hover" runat="server" 
                            meta:resourcekey="one1">常规</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR" id="divR1">
                        </div>
                    </div>
                </div>
                <div id="div_content">
                    <div id="con_one_1" style="display: block;">
                        <table width="360px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblTeamNo" runat="server" CssClass="label" Text="组队" 
                                        meta:resourcekey="lblTeamNo"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblTagNo" runat="server" CssClass="label" Text="物理盘点标签" 
                                        meta:resourcekey="lblTagNo"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtTeamNo" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtTeamNo"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtTagNo" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtTagNo"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblPhysicalRequestID" runat="server" CssClass="label" 
                                        Text="盘点申请号" meta:resourcekey="lblPhysicalRequestID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOwnerID" runat="server" CssClass="label" Text="货主代码" 
                                        meta:resourcekey="lblOwnerID"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtPhysicalRequestID" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtPhysicalRequestID"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtOwnerID"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblLot" runat="server" CssClass="label" Text="批次号" 
                                        meta:resourcekey="lblLot"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblSkuID" runat="server" CssClass="label" Text="货品代码" 
                                        meta:resourcekey="lblSkuID"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtLot" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtLot"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtSkuID" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtSkuID"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblLpnID" runat="server" CssClass="label" Text="LPN" 
                                        meta:resourcekey="lblLpnID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblPackID" runat="server" CssClass="label" Text="包装代码" 
                                        meta:resourcekey="lblPackID"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtLpnID" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtLpnID"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtPackID" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtPackID"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblLoc" runat="server" CssClass="label" Text="货位" 
                                        meta:resourcekey="lblLoc"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUomID" runat="server" CssClass="label" Text="计量单位" 
                                        meta:resourcekey="lblUomID"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtLoc" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtLoc"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUomID" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtUomID"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblCountDate" runat="server" CssClass="label" Text="盘点日期" 
                                        meta:resourcekey="lblCountDate"></asp:Label><font
                                        class="must_input">*</font>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCountQty" runat="server" CssClass="label" Text="数量" 
                                        meta:resourcekey="lblCountQty"></asp:Label><font
                                        class="must_input">*</font>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtCountDate" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCountDate"></asp:TextBox><img
                                        src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtCountDate)" />
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCountQty" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCountQty"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="chb" runat="server" Text="自动显示下一个标签" CssClass="checkbox" 
                                        meta:resourcekey="chb" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <input type="hidden" id="hdnPrID" runat="server" />
        <input type="hidden" id="hdnTagNo" runat="server" />
        <input type="hidden" id="hdnFrom" runat="server" />
        <input type="hidden" id="hdnFlag" runat="server" />
        <input type="hidden" id="hdnDataFormat" runat="server" />
        <input type="hidden" id="hdncalendarFlag" runat="server" />
    </div>
    </form>
</body>
</html>

<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
			hiddenCalendarDiv();
		//-->
</script>

